<%@ page import="com.guotd.ticketSystem.entity.User" %>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>机票预定系统-首页</title>
    <link rel="stylesheet" href="css/index.css">
</head>
<body>
<div class="container">
<h1><%= "机票预订系统-管理员端" %></h1>
<%User user= (User) session.getAttribute("user");
    if (user==null){
        request.getRequestDispatcher("login.jsp").forward(request, response);
    }%>
<h4>登录成功，欢迎 <%=user.getName() %></h4>
<br/>
    <div class="menu">
        <a href="getAirlines" class="button">管理航线信息</a>
        <a href="getSchedules" class="button">管理时间表信息</a>
        <a href="getAirports" class="button">管理机场信息</a>
        <a href="getFlights" class="button">管理航班信息</a>
        <a href="login.jsp" class="button">退出登录</a>
    </div>
</div>
</body>
</html>